package com.design.paystyle.strategy;

/**
 * 策略枚举类，存放所有策略实现类
 *
 * @author by liuxin
 * @version 0.1
 * @date ate 2021-11-17 15:37
 */
public enum PayEnumStrategy {

    /**
     * 支付宝支付
     */
    ALI_PAY("com.design.paystyle.strategy.impl.AliPayStrategy"),
    /**
     * 微信支付
     */
    WECHAT_PAY("com.design.paystyle.strategy.impl.WeiXinPayStrategy"),
    /**
     * 小米支付
     */
    XIAOMI_PAY("com.design.paystyle.strategy.impl.XiaoMiPayStrategy");

    PayEnumStrategy(String className) {
        this.setClassName(className);
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    /**
     * 策略的实现类
     */
    private String className;
}
